package com.kb.design.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.time.LocalDate;

@Data
@TableName("design_progress")
public class DesignProgress extends BaseEntity {
    @TableId(type = IdType.AUTO)
    private Long id;

    @TableField("project_id")
    private Long projectId;

    @TableField("design_status")
    private String designStatus;

    @TableField("completion_rate")
    private Integer completionRate;

    @TableField("add_workload")
    private String addWorkload;

    @TableField("time_consuming")
    private String timeConsuming;

    @TableField("customer_change_log")
    private String customerChangeLog;

    @TableField("change_picture_url")
    private String changePictureUrl;
//    @TableField(exist = false)
    private String described;

    private LocalDate date;
    private Integer workingHours;
    // 添加逻辑删除字段
//    @TableLogic
    @TableField("del_flag")
    private Integer delFlag;

    @TableField(exist = false)
    private String layers;
    @TableField(exist = false)
    private String designSoftware;
    @TableField(exist = false)
    private String designRemark;
    @TableField(exist = false)
    private String status;
    @TableField(exist = false)
    private String responsiblePersonId;
    @TableField(exist = false)
    private Integer designDepartments;
    @TableField(exist = false)
    private String orderDir;
    @TableField(exist = false)
    private Integer serialNumber;

}
